package com.xja.shoppingmall.points;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2021-12-1519:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "积分实体", description = "服务间调用传递")
public class PointsVo implements Serializable {

    @ApiModelProperty(value="积分ID")
    private Long id;

    @ApiModelProperty(value="用户ID")
    private Long userId;

    @ApiModelProperty(value="总积分")
    private BigDecimal total;
}
